package com.baiyichen.dao;

import com.baiyichen.pojo.Books;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Author:BaiYiChen
 * Date:2022/3/2212:49
 */
@Repository
public interface BooksMapper {
  Books getById(@Param("i")int id);
  List<Books> getBooks();
}
